home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / usenet / sources / volume89 / unix / rcs.01 < prev    next >
Internet Message Format  |  1989-11-19  |  14KB

  1. Path: xanth!samsung!caesar.cs.montana.edu!ogccse!unmvax!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!sun-barr!newstop!sun!swap!page
  2. From: page%swap@Sun.COM (Bob Page)
  3. Newsgroups: comp.sources.amiga
  4. Subject: v89i216:  rcs - revision control system, Part01/14
  5. Message-ID: <128092@sun.Eng.Sun.COM>
  6. Date: 19 Nov 89 09:24:02 GMT
  7. Sender: news@sun.Eng.Sun.COM
  8. Lines: 278
  9. Approved: page@sun.com
  10. Posted: Sun Nov 19 01:24:02 1989
  11.  
  12. Submitted-by: rsbx@cbmvax.commodore.com (Raymond S. Brand)
  13. Posting-number: Volume 89, Issue 216
  14. Archive-name: unix/rcs.01
  15.  
  16. This is an Amiga port of RCS, a package for maintaining multiple
  17. versions of files.
  18.  
  19. # This is a shell archive.
  20. # Remove anything above and including the cut line.
  21. # Then run the rest of the file through 'sh'.
  22. # Unpacked files will be owned by you and have default permissions.
  23. #----cut here-----cut here-----cut here-----cut here----#
  24. #!/bin/sh
  25. # shar: SHell ARchive
  26. # Run the following text through 'sh' to create:
  27. #    diff/copying
  28. # This is archive 1 of a 14-part kit.
  29. # This archive created: Sun Nov 19 01:12:04 1989
  30. if `test ! -d diff`
  31. then
  32.   mkdir diff
  33.   echo "mkdir diff"
  34. fi
  35. echo "extracting diff/copying"
  36. sed 's/^X//' << \SHAR_EOF > diff/copying
  37. X
  38. X            GNU GENERAL PUBLIC LICENSE
  39. X             Version 1, February 1989
  40. X
  41. X Copyright (C) 1989 Free Software Foundation, Inc.
  42. X                    675 Mass Ave, Cambridge, MA 02139, USA
  43. X Everyone is permitted to copy and distribute verbatim copies
  44. X of this license document, but changing it is not allowed.
  45. X
  46. X                Preamble
  47. X
  48. X  The license agreements of most software companies try to keep users
  49. Xat the mercy of those companies.  By contrast, our General Public
  50. XLicense is intended to guarantee your freedom to share and change free
  51. Xsoftware--to make sure the software is free for all its users.  The
  52. XGeneral Public License applies to the Free Software Foundation's
  53. Xsoftware and to any other program whose authors commit to using it.
  54. XYou can use it for your programs, too.
  55. X
  56. X  When we speak of free software, we are referring to freedom, not
  57. Xprice.  Specifically, the General Public License is designed to make
  58. Xsure that you have the freedom to give away or sell copies of free
  59. Xsoftware, that you receive source code or can get it if you want it,
  60. Xthat you can change the software or use pieces of it in new free
  61. Xprograms; and that you know you can do these things.
  62. X
  63. X  To protect your rights, we need to make restrictions that forbid
  64. Xanyone to deny you these rights or to ask you to surrender the rights.
  65. XThese restrictions translate to certain responsibilities for you if you
  66. Xdistribute copies of the software, or if you modify it.
  67. X
  68. X  For example, if you distribute copies of a such a program, whether
  69. Xgratis or for a fee, you must give the recipients all the rights that
  70. Xyou have.  You must make sure that they, too, receive or can get the
  71. Xsource code.  And you must tell them their rights.
  72. X
  73. X  We protect your rights with two steps: (1) copyright the software, and
  74. X(2) offer you this license which gives you legal permission to copy,
  75. Xdistribute and/or modify the software.
  76. X
  77. X  Also, for each author's protection and ours, we want to make certain
  78. Xthat everyone understands that there is no warranty for this free
  79. Xsoftware.  If the software is modified by someone else and passed on, we
  80. Xwant its recipients to know that what they have is not the original, so
  81. Xthat any problems introduced by others will not reflect on the original
  82. Xauthors' reputations.
  83. X
  84. X  The precise terms and conditions for copying, distribution and
  85. Xmodification follow.
  86. X
  87. X            GNU GENERAL PUBLIC LICENSE
  88. X   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  89. X
  90. X  0. This License Agreement applies to any program or other work which
  91. Xcontains a notice placed by the copyright holder saying it may be
  92. Xdistributed under the terms of this General Public License.  The
  93. X"Program", below, refers to any such program or work, and a "work based
  94. Xon the Program" means either the Program or any work containing the
  95. XProgram or a portion of it, either verbatim or with modifications.  Each
  96. Xlicensee is addressed as "you".
  97. X
  98. X  1. You may copy and distribute verbatim copies of the Program's source
  99. Xcode as you receive it, in any medium, provided that you conspicuously and
  100. Xappropriately publish on each copy an appropriate copyright notice and
  101. Xdisclaimer of warranty; keep intact all the notices that refer to this
  102. XGeneral Public License and to the absence of any warranty; and give any
  103. Xother recipients of the Program a copy of this General Public License
  104. Xalong with the Program.  You may charge a fee for the physical act of
  105. Xtransferring a copy.
  106. X
  107. X  2. You may modify your copy or copies of the Program or any portion of
  108. Xit, and copy and distribute such modifications under the terms of Paragraph
  109. X1 above, provided that you also do the following:
  110. X
  111. X    a) cause the modified files to carry prominent notices stating that
  112. X    you changed the files and the date of any change; and
  113. X
  114. X    b) cause the whole of any work that you distribute or publish, that
  115. X    in whole or in part contains the Program or any part thereof, either
  116. X    with or without modifications, to be licensed at no charge to all
  117. X    third parties under the terms of this General Public License (except
  118. X    that you may choose to grant warranty protection to some or all
  119. X    third parties, at your option).
  120. X
  121. X    c) If the modified program normally reads commands interactively when
  122. X    run, you must cause it, when started running for such interactive use
  123. X    in the simplest and most usual way, to print or display an
  124. X    announcement including an appropriate copyright notice and a notice
  125. X    that there is no warranty (or else, saying that you provide a
  126. X    warranty) and that users may redistribute the program under these
  127. X    conditions, and telling the user how to view a copy of this General
  128. X    Public License.
  129. X
  130. X    d) You may charge a fee for the physical act of transferring a
  131. X    copy, and you may at your option offer warranty protection in
  132. X    exchange for a fee.
  133. X
  134. XMere aggregation of another independent work with the Program (or its
  135. Xderivative) on a volume of a storage or distribution medium does not bring
  136. Xthe other work under the scope of these terms.
  137. X
  138. X  3. You may copy and distribute the Program (or a portion or derivative of
  139. Xit, under Paragraph 2) in object code or executable form under the terms of
  140. XParagraphs 1 and 2 above provided that you also do one of the following:
  141. X
  142. X    a) accompany it with the complete corresponding machine-readable
  143. X    source code, which must be distributed under the terms of
  144. X    Paragraphs 1 and 2 above; or,
  145. X
  146. X    b) accompany it with a written offer, valid for at least three
  147. X    years, to give any third party free (except for a nominal charge
  148. X    for the cost of distribution) a complete machine-readable copy of the
  149. X    corresponding source code, to be distributed under the terms of
  150. X    Paragraphs 1 and 2 above; or,
  151. X
  152. X    c) accompany it with the information you received as to where the
  153. X    corresponding source code may be obtained.  (This alternative is
  154. X    allowed only for noncommercial distribution and only if you
  155. X    received the program in object code or executable form alone.)
  156. X
  157. XSource code for a work means the preferred form of the work for making
  158. Xmodifications to it.  For an executable file, complete source code means
  159. Xall the source code for all modules it contains; but, as a special
  160. Xexception, it need not include source code for modules which are standard
  161. Xlibraries that accompany the operating system on which the executable
  162. Xfile runs, or for standard header files or definitions files that
  163. Xaccompany that operating system.
  164. X
  165. X  4. You may not copy, modify, sublicense, distribute or transfer the
  166. XProgram except as expressly provided under this General Public License.
  167. XAny attempt otherwise to copy, modify, sublicense, distribute or transfer
  168. Xthe Program is void, and will automatically terminate your rights to use
  169. Xthe Program under this License.  However, parties who have received
  170. Xcopies, or rights to use copies, from you under this General Public
  171. XLicense will not have their licenses terminated so long as such parties
  172. Xremain in full compliance.
  173. X
  174. X  5. By copying, distributing or modifying the Program (or any work based
  175. Xon the Program) you indicate your acceptance of this license to do so,
  176. Xand all its terms and conditions.
  177. X
  178. X  6. Each time you redistribute the Program (or any work based on the
  179. XProgram), the recipient automatically receives a license from the original
  180. Xlicensor to copy, distribute or modify the Program subject to these
  181. Xterms and conditions.  You may not impose any further restrictions on the
  182. Xrecipients' exercise of the rights granted herein.
  183. X
  184. X  7. The Free Software Foundation may publish revised and/or new versions
  185. Xof the General Public License from time to time.  Such new versions will
  186. Xbe similar in spirit to the present version, but may differ in detail to
  187. Xaddress new problems or concerns.
  188. X
  189. XEach version is given a distinguishing version number.  If the Program
  190. Xspecifies a version number of the license which applies to it and "any
  191. Xlater version", you have the option of following the terms and conditions
  192. Xeither of that version or of any later version published by the Free
  193. XSoftware Foundation.  If the Program does not specify a version number of
  194. Xthe license, you may choose any version ever published by the Free Software
  195. XFoundation.
  196. X
  197. X  8. If you wish to incorporate parts of the Program into other free
  198. Xprograms whose distribution conditions are different, write to the author
  199. Xto ask for permission.  For software which is copyrighted by the Free
  200. XSoftware Foundation, write to the Free Software Foundation; we sometimes
  201. Xmake exceptions for this.  Our decision will be guided by the two goals
  202. Xof preserving the free status of all derivatives of our free software and
  203. Xof promoting the sharing and reuse of software generally.
  204. X
  205. X                NO WARRANTY
  206. X
  207. X  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  208. XFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
  209. XOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  210. XPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  211. XOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  212. XMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
  213. XTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  214. XPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  215. XREPAIR OR CORRECTION.
  216. X
  217. X  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  218. XWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  219. XREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  220. XINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  221. XOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  222. XTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  223. XYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  224. XPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  225. XPOSSIBILITY OF SUCH DAMAGES.
  226. X
  227. X             END OF TERMS AND CONDITIONS
  228. X
  229. X    Appendix: How to Apply These Terms to Your New Programs
  230. X
  231. X  If you develop a new program, and you want it to be of the greatest
  232. Xpossible use to humanity, the best way to achieve this is to make it
  233. Xfree software which everyone can redistribute and change under these
  234. Xterms.
  235. X
  236. X  To do so, attach the following notices to the program.  It is safest to
  237. Xattach them to the start of each source file to most effectively convey
  238. Xthe exclusion of warranty; and each file should have at least the
  239. X"copyright" line and a pointer to where the full notice is found.
  240. X
  241. X    <one line to give the program's name and a brief idea of what it does.>
  242. X    Copyright (C) 19yy  <name of author>
  243. X
  244. X    This program is free software; you can redistribute it and/or modify
  245. X    it under the terms of the GNU General Public License as published by
  246. X    the Free Software Foundation; either version 1, or (at your option)
  247. X    any later version.
  248. X
  249. X    This program is distributed in the hope that it will be useful,
  250. X    but WITHOUT ANY WARRANTY; without even the implied warranty of
  251. X    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  252. X    GNU General Public License for more details.
  253. X
  254. X    You should have received a copy of the GNU General Public License
  255. X    along with this program; if not, write to the Free Software
  256. X    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  257. X
  258. XAlso add information on how to contact you by electronic and paper mail.
  259. X
  260. XIf the program is interactive, make it output a short notice like this
  261. Xwhen it starts in an interactive mode:
  262. X
  263. X    Gnomovision version 69, Copyright (C) 19xx name of author
  264. X    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  265. X    This is free software, and you are welcome to redistribute it
  266. X    under certain conditions; type `show c' for details.
  267. X
  268. XThe hypothetical commands `show w' and `show c' should show the
  269. Xappropriate parts of the General Public License.  Of course, the
  270. Xcommands you use may be called something other than `show w' and `show
  271. Xc'; they could even be mouse-clicks or menu items--whatever suits your
  272. Xprogram.
  273. X
  274. XYou should also get your employer (if you work as a programmer) or your
  275. Xschool, if any, to sign a "copyright disclaimer" for the program, if
  276. Xnecessary.  Here a sample; alter the names:
  277. X
  278. X  Yoyodyne, Inc., hereby disclaims all copyright interest in the
  279. X  program `Gnomovision' (a program to direct compilers to make passes
  280. X  at assemblers) written by James Hacker.
  281. X
  282. X  <signature of Ty Coon>, 1 April 1989
  283. X  Ty Coon, President of Vice
  284. X
  285. XThat's all there is to it!
  286. SHAR_EOF
  287. echo "End of archive 1 (of 14)"
  288. # if you want to concatenate archives, remove anything after this line
  289. exit
  290.